﻿using Common.Enum;

namespace Entity.ERP.View.SaleOrder
{
    /// <summary>
    /// 销售订单视图模型
    /// </summary>
    public class SaleOrderView
    {
        /// <summary>
        /// 销售订单 ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 销售编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 流转卡号
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 客户 Id
        /// </summary>
        public string CustomerId { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 客户联系电话
        /// </summary>
        public string CustomerPhone { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public StateEnum.SaleType Status { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public StateEnum.ExamStatus ExamStatus { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public string? File { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
